body {
    margin: 0;
    padding: 0;
    font-family: Arial, sans-serif;
    background-color: #1e1e2e;
    color: #eaeaea;
    display: flex;
    flex-direction: column;
    height: 100vh;
    transition: background-color 0.3s ease, color 0.3s ease;
}

.none {
    min-height: 100px;
    transition: all 0.3s ease;
}

.gradient-transparent {
    height: 100px;
    z-index: 999;
    width: calc(100vw - 13px);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    transition: all 0.3s ease;
}

.header {
    position: fixed;
    top: 25px;
    left: 25px;
    background-color: #007bff;
    min-width: 40%;
    color: #ffffff;
    padding: 15px 20px;
    font-size: 1.6rem;
    text-align: center;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.4), 0 0 15px rgba(0, 123, 255, 0.6), 0 0 25px rgba(0, 123, 255, 0.4);
    border-radius: 50px;
    z-index: 1000;
    transition: transform 0.25s ease, background-color 0.25s ease, box-shadow 0.25s ease, min-width 0.25s ease;
}

.header:hover {
    cursor: pointer;
    background-color: #007bff;
    transform: scale(1.05);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.6), 0 0 25px rgba(0, 123, 255, 0.8), 0 0 40px rgba(0, 123, 255, 0.6);
}

.chat-container {
    display: flex;
    flex-direction: column;
    flex-grow: 1;
    padding: 10px;
    overflow-y: auto;
    border-radius: 10px;
    margin: 10px;
    position: absolute;
    top: 0px;
    bottom: 55px;
    left: -5px;
    right: -5px;
    max-width: 100%;
    transition: all 0.3s ease;
}

.chat-bubble {
    max-width: 80%;
    margin: 10px 0;
    padding: 12px 18px;
    border-radius: 20px;
    line-height: 1.4;
    font-size: 1rem;
    word-wrap: break-word;
    position: relative;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.4);
    opacity: 1;
    transition: opacity 0.3s ease;
}

.user-bubble {
    background-color: #007bff;
    color: #ffffff;
    align-self: flex-end;
    border-radius: 30px 30px 30px 30px;
    margin-right: 0%;
    max-width: 70%;
}

.ai-bubble {
    background-color: #2e2e3e;
    color: #ffffff;
    align-self: flex-start;
    border-radius: 30px 30px 30px 30px;
    margin-left: 0%;
    max-width: 70%;
}

@media (min-width: 768px) {
    .user-bubble {
        margin-right: 10%;
        max-width: 50%;
    }

    .ai-bubble {
        margin-left: 10%;
        max-width: 50%;
    }

    .gradient-transparent {
        backdrop-filter: blur(0px);
        -webkit-backdrop-filter: blur(0px);
    }

    .header {
        min-width: 20%;
    }
}

@media (min-width: 1200px) {
    .user-bubble {
        margin-right: 25%;
        max-width: 25%;
    }

    .ai-bubble {
        margin-left: 25%;
        max-width: 25%;
    }

    .gradient-transparent {
        backdrop-filter: blur(0px);
        -webkit-backdrop-filter: blur(0px);
    }

    .header {
        min-width: 10%;
    }
}

.chat-container::-webkit-scrollbar {
    width: 8px;
    transition: all 0.3s ease;
}

.chat-container::-webkit-scrollbar-thumb {
    background: #007bff;
    border-radius: 10px;
    transition: all 0.3s ease;
}

.chat-container::-webkit-scrollbar-track {
    background: #3e3e4e;
    border-radius: 10px;
    transition: all 0.3s ease;
}

.input-container {
    display: flex;
    align-items: center;
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 10px;
    background-color: #2e2e3e;
    box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.4);
    border-top: 1px solid #444;
    gap: 10px;
    box-sizing: border-box;
    transition: all 0.3s ease;
}

.input-container input {
    flex-grow: 1;
    border-radius: 20px;
    padding: 10px 15px;
    border: 1px solid #444;
    font-size: 1rem;
    background-color: #1e1e2e;
    color: #eaeaea;
    box-sizing: border-box;
    transition: all 0.3s ease;
}

.input-container input::placeholder {
    color: #888;
    transition: all 0.3s ease;
}

.input-container button {
    flex-shrink: 0;
    border-radius: 20px;
    background-color: #007bff;
    color: white;
    padding: 10px 15px;
    border: none;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s ease, transform 0.2s ease;
}

.btn:disabled {
    pointer-events: none;
    opacity: 0.5;
    cursor: not-allowed;
    transition: none;
}

.input-container button:hover {
    background-color: #ff6f61;
    transform: scale(1.05);
}

pre {
    background-color: #272822;
    color: #f8f8f2;
    padding: 10px;
    border-radius: 5px;
    overflow-x: auto;
    font-size: 0.9rem;
    transition: all 0.3s ease;
}

.form-control {
    flex-grow: 1;
    border-radius: 10px;
    padding: 10px 15px;
    border: 1px solid #444;
    font-size: 1rem;
    background-color: #1e1e2e;
    color: #eaeaea;
    box-sizing: border-box;
    outline: none;
    transition: all 0.3s ease;
}

.form-control:focus {
    border-color: #007bff;
    box-shadow: 0 0 8px rgba(0, 123, 255, 0.6);
    transition: all 0.3s ease;
}

.form-control:disabled, .form-control[readonly] {
    background-color: #2e2e3e;
    opacity: 0.7;
    cursor: not-allowed;
    transition: all 0.3s ease;
}

.form-control::placeholder {
    color: #888;
    opacity: 1;
    transition: all 0.3s ease;
}


